var _util = require("util/util.js");

var pay = {
	//创建订单
	pay : function(data,resolve,reject){
		_util.request({
            url     : _util.getServerUrl('/pay/pay.do'),
            method  : 'POST',
            data	: data,
            success : resolve,
            error   : reject
        });
	}
}

module.exports = pay;